<?php
require_once $_SERVER ["DOCUMENT_ROOT"] . '/config.php';
use Luracast\Restler\Restler;

$r = new Restler ();
$r->addAuthenticationClass ( 'Auth\\Server', '' );
$r->setOverridingFormats ( 'JsonFormat', 'HtmlFormat', 'UploadFormat' );
print_r ( $r );
$r->getEvents ();
$r->handle ();
/**/